package com.woniuxy.vuecli.service;

import com.woniuxy.vuecli.entity.Employee;
import com.woniuxy.vuecli.entity.PageBean;

/**
 * @Author author
 * @Create 2024-01-15 16:08
 */
public interface EmployeeService {
    PageBean<Employee> getAll(int pageIndex, int pageSize, Employee employee);

    boolean emailUsed(String email);

    void add(Employee employee);

    Employee login(String ename,String password);
}
